/**
 * Created by lub_lenovo on 2017/11/2.
 */
$(function(){
    $('.orign').click(function(){
        // $('.container-fluid').
        var src=$(this).attr('src');
        $(".preview").html('<img onclick="previewHide(this);" src="'+src+'" alt="">');
    });

});

function previewHide(obj){
    // console.log(obj);
    $(obj).remove();
}
